import pkgutil
import sys

__mods__ = []
for importer, package_name, _ in pkgutil.iter_modules(["mods"]):
        full_package_name = '%s.%s' % ("mods", package_name)
        if full_package_name not in sys.modules:
            module = importer.find_module(package_name
                        ).load_module(full_package_name)
            print("Load " + package_name)
            __mods__.append(module)